package main

import (
	"net/http"
	"log"
	"fmt"
)

func hello(w http.ResponseWriter,r *http.Request)  {
	fmt.Fprint(w,"hello world")
}
func main(){
	http.HandleFunc("/",hello)
	err := http.ListenAndServe("9090",nil)
	if err != nil{
		log.Fatal("ListenAndServer",err)
	}
}